package com.ltw.playit.online.vedio.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import com.fasterxml.jackson.core.JsonProcessingException;
import com.ltw.playit.online.vedio.service.VedioService;

@RestController
public class RestFullController {

	@Autowired
	private VedioService vedioService;

	@RequestMapping("/vedio-summary")
	public String RetrieveVedioSummary() throws JsonProcessingException {
		return vedioService.retrieveVedioSummary();
	}

}
